lcExpEntity Home

Used to retrieve simple polylines of graphic object. This function copies the polylines into inner buffer.
Coordinates of the polylines vertices can be retrieved with lcExpGetPline and lcExpGetVertex functions.

 int lcExpEntity (
   HANDLE hEntity,
   int iChar,
   int Flags,
   BOOL bUnrotate
 );

Parameters
hEntity
  Handle to a graphic object.
iChar
  Index of character in text entity. Used if you want to explode only one character. For all text use value -1.
Flags
  Options. Can be a combination of the following flags.

Flag Meaning
LC_EXP_OUTLINE Retieve entity's outlines
LC_EXP_HATCH Retrieve hatch lines
LC_EXP_ALL Combination of LC_EXP_OUTLINE and LC_EXP_HATCH flags
LC_EXP_MAXRESOL Use maximal resolution for curves.
If not set then current resolution of the entity will be used.
If the current resolution is "adaptive" then default resolution will be used
(See LC_PROP_DRW_RESOLARC, LC_PROP_DRW_RESOLSPLINE, LC_PROP_DRW_RESOLTEXT)

bUnrotate
  reserved

Return Value

  A number of polylines copied into inner buffer.

Remarks

  If a drawing has active clipping rectangle, then this function will process only area within the clipping rectangle.

See Also

  lcExpGetPline,   lcExpGetVertex
Retrieve vertices of a circle
Retrieve vertices of a text
Retrieve vertices of barcode outlines and hatch lines
Retrieve vertices and lines of filled text
Retrieve vertices of filling lines (of shape entity)